Read me replication material: Terrorism Activates Ethnocentrism to Explain Greater Willingness to  Sacrifice Civil Liberties: Evidence from Germany
The files are the accompanying replication material for the following paper
	Authors: Christina Novak Hansen and Peter Thisted Dinesen
	Paper: Terrorism Activates Ethnocentrism to Explain Greater Willingness to  Sacrifice Civil Liberties: Evidence from Germany
	Journal: Political Science Research and Methods

For the analysis the following computer and software were used:
	Software: Stata version: 14.0

	Computer specifications:
	Processor: Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz   1.80 GHz
	System type:64-bit operating system, x64-based processor
	Installed RAM: 8,00 GB
	Edition: Windows 10 Pro
	Version: 21H1
	Installed on: 01/09/2020


This study uses 
1) A subset of the following data file:
Stefan Bauernschuster, Andreas Diekmann, Andreas Hadjar, Karin Kurz, Ulrich Rosar, Ulrich Wagner, & Bettina Westle (2018). German General  Social Survey - ALLBUS 2016. GESIS Datenarchiv, Köln. ZA5252 Datenfile  Version 2.1.0 DE(2017), doi:10.4232/1.12837. 

* This subset dataset is provided with the replication data on PSRM's dataverse.
* To access the original dataset take the following steps:
	- Download the data file go to: https://www.gesis.org/home.
	- Search for "ALLBUS 2016" or study number "ZA5250".
	- In order to access the data you have to have a user account. You can
	  register for free.
	- Select the single wave (non-comulative) data file, version 2.1.0 from 
	  29.05.2017, for Stata: make sure to select the German version of the file 
	  as the coding otherwise will not work correctly.

2)In addition, a dataset with media data was generated as described in the do-file "Appendix_C". This dataset is also provided in the PSRM dataverse.

The replication material consists of the following files, which should be run in the according order:

1. Master:		Provides an overview of the files and general codes for setting the analysis
2. Data preparation.do:	Prepares the raw data for analysis
3. Results.do:		Contains the stata code for Table 1, Figure 1 and Figure 2.

Appendix_B.do:		Contains the stata code for the Online appendix B, incl. Figure B1.		
Appendix_C.do:		Contains the stata code for the Online appendix C, incl. Figure C1.
Appendix_E.do:		Contains the stata code for the Online appendix E, incl. calculations for Table E1.
Appendix_F.do:		Contains the stata code for the Online appendix F, incl. Table F1.
Appendix_I.do:		Contains the stata code for the Online appendix I
Appendix_J.do:		Contains the stata code for the Online appendix J, incl. Figure J1.
Appendix_K.do:		Contains the stata code for the Online appendix K, incl. Table K1.
Appendix_L.do:		Contains the stata code for the Online appendix L, incl. Table L1, Table L2 and Figure L1.
Appendix_M.do:		Contains the stata code for the Online appendix M, incl. Table M1.
Appendix_N.do:		Contains the stata code for the Online appendix N, incl. Table N1.
Appendix_O.do:		Contains the stata code for the Online appendix O, incl. Table O1.
Appendix_P.do:		Contains the stata code for the Online appendix P, incl. Figure P1.
Appendix_Q.do:		Contains the stata code for the Online appendix Q, incl. Figure Q1.
Appendix_R.do:		Contains the stata code for the Online appendix R, incl. Table R1.
Appendix_S.do:		Contains the stata code for the Online appendix S, incl. Table S1.
Appendix_T.do:		Contains the stata code for the Online appendix T, Table T1 and Table T2.

For questions regarding the analysis and the stata code, please contact Christina Novak Hansen via email: cnovakhansen@escp.eu.